// flutter_test

// Add the flutter_test dependency
// Create a Widget to test
// Create a testWidgets test
// Build the Widget using the WidgetTester
// Search for our Widget using a Finder
// Verify our Widget is working using a Matcher
// pumpWidget

// tester.pump()
// Triggers a rebuild of the Widget after a given duration.
// tester.pumpAndSettle()
// Repeatedly calls pump with the given duration until there are no longer any frames scheduled. This essentially waits for all animations to complete.
// These methods provide fine-grained control over the build lifecycle, which is particularly useful while testing.

// Finder
// find.text()
// find.byValueKey
// find.byWidget(childWidget)

// Matcher
// expect(findsOneWidget, findsOneWidget)
// expect(await driver.getText(counterTextFinder), "0");
// expect(await fetchPost(client), TypeMatcher<Post>());
// expect(find.byWidget(childWidget), findsOneWidget);


